//
//  XYCustomProgressView.h
//  DrawDemo
//
//  Created by Passion on 16/3/7.
//  Copyright © 2016年 Passion. All rights reserved.
//

#import <UIKit/UIKit.h>



typedef void(^ChangeMaskColorBlock)(pm25Level);

@interface XYCustomProgressView : UIView


/// 构造方法
+ (instancetype)CustomProgressWithFrame:(CGRect)frame circleWidth:(CGFloat)circleWidth shadowWidth:(CGFloat)shadowWidth;

- (instancetype)initWithFrame:(CGRect)frame circleWidth:(CGFloat)circleWidth shadowWidth:(CGFloat)shadowWidth;

/// 改变进度
-(void)setPercentNewValue:(NSInteger)newValue;
/// 设置进度
-(void)setPercent:(NSInteger)percent;

/// 改变蒙版颜色block
@property(nonatomic, strong) ChangeMaskColorBlock changeMaskColor;

@end
